﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Utilities;

namespace SM2TestRunner
{
    public class TestStep
    {
        //(Step1:bapprover,object2,object2_action1,1223-4323-3332-4565,exitlink)
        private string owner;
        private string objectName;
        private string action;
        private TestParameters parameters;
        private string validation;

        public TestStep()
        { }

        public TestStep(string strowner, string strobjectname, string straction, TestParameters strparameter, string strvalidation)
        {
            this.owner = strowner;
            this.objectName = strobjectname;
            this.action = straction;
            this.parameters = new TestParameters();
            this.validation = strvalidation;
        }

        public void setOwner(string strOwner){
            this.owner = strOwner;
        }

        public void setObjectName(string strObjectName)
        {
            this.objectName = strObjectName;
        }

        public void setAction(string strAction)
        {
            this.action = strAction;
        }

        public void setParameters(TestParameters testparameter)
        {
            this.parameters = testparameter;
        }

        public void setValidation(string strTextValidation)
        {
            this.validation = strTextValidation;
        }

        public string getOwner()
        {
            return this.owner;
        }

        public string getObjectName()
        {
            return this.objectName;
        }

        public string getAction()
        {
            return this.action;
        }

        public TestParameters getParameters()
        {
            return this.parameters;
        }

        public string getValidation()
        {
            return this.validation;
        }
    }
}
